package com.an.blog.admin.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.an.common.annotation.ExcelDictFormat;
import com.an.common.convert.ExcelDictConvert;
import lombok.Data;


/**
 * 博客友链视图对象 blog_friend_link
 *
 * @author Ann
 * @date 2023-10-17
 */
@Data
@ExcelIgnoreUnannotated
public class BlogFriendLinkVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 友链标题
     */
    @ExcelProperty(value = "博客标题")
    private String blogTitle;

    /**
     * 博客地址
     */
    @ExcelProperty(value = "博客地址")
    private String blogAddress;

    /**
     * 博客logo图片
     */
    @ExcelProperty(value = "网站logo")
    private Long blogLogoImage;

    /**
     * 博客desc
     */
    @ExcelProperty(value = "描述")
    private String blogDesc;


    /**
     * 博客logo图片url
     */
    @ExcelProperty(value = "博客logoUrl")
    private String blogLogoImageUrl;


    /**
     * 状态（0正常 1禁用）
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=正常,1=禁用")
    private String status;


}
